%if 0%{?rhel}
# HACK to fix building on RHEL6; find_debuginfo is crashing, not sure
# why
-%global debug_package %{nil}
+%define debug_package %{nil}
%endif
Summary: Linux-based operating system develop/build/deploy tool
Release: 1%{?dist}
#VCS: git:git://git.gnome.org/ostree
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/%{build_name}-%{version}.tar.gz
+# The libostree.so (currently private) shared library, and almost all
+# of the utilities are licensed under the LGPLv2+. Only at present
+# one utility program (ostree-switch-root) is forked from util-linux under
+# the GPL.
+# The BSD is there basically just for some random scripts, nothing
+# important.
+# As always, consult the upstream COPYING file, and individual source
+# files for the canonical license status.
License: LGPLv2+ and GPLv2+ and BSD
URL: http://live.gnome.org/OSTree
# We always run autogen.sh
make %{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
%clean
rm -rf $RPM_BUILD_ROOT
%files
+%doc COPYING README.md
%{_bindir}/ostree
%{_bindir}/ostree-pull
%{_bindir}/ostree-run-triggers